import Vue from 'vue'
import App from './App'
import Request from './utils/request'
import Config from './utils/systemConfig.js';
import mixin from './utils/mixin.js'
import prototype from '@/utils/prototype.js'
import store from './store'
import customImage from './common/components/_global/image/index.vue'

let systemConfig = new Config();

Vue.prototype.$systemConfig = systemConfig

// 全局组件
Vue.component('customImage', customImage)
Vue.config.productionTip = false
Vue.mixin(mixin)
Vue.prototype.$store = store
Vue.prototype.http = Request(systemConfig.domain, systemConfig.prefix, systemConfig.instanceId)
App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()
